﻿<?xml version="1.0" encoding="utf-8" ?>
<oos:WXMLModel defaultNamespace="Adv" schemaVersion="v2"
  xmlns:oos="http://wise-orm.com/WXMLSchema.xsd">
  <oos:Includes>
    <xi:include parse="xml" href="v1-schema.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
  </oos:Includes>
	<oos:Entities>
		<oos:Entity id="advEntity1" name="Entity1" baseEntity="eEntity1">
			<oos:SourceFragments />
		</oos:Entity>
    <oos:Entity id="advEntity2" name="Entity2" baseEntity="eEntity2">
      <oos:SourceFragments />
    </oos:Entity>
    <oos:Entity id="advEntity3" name="Entity3" baseEntity="eEntity1">
      <oos:SourceFragments />
      <oos:Properties>
        <oos:Property attributes="PrimaryKey" fieldName="id" name="Identifier2" table="tblEntity1" type="tInt32" />
        <oos:Property name="Code" table="tblEntity1" type="tInt32" fieldName="code" classfieldAccessLevel="Family" />
        <oos:Property name="Code2" table="tblEntity1" type="tInt32" fieldName="code2" attributes="ReadOnly" />
      </oos:Properties>
    </oos:Entity>
    <oos:Entity id="advEntity4" name="Entity4" baseEntity="advEntity3">
      <oos:SourceFragments />
      <oos:Properties>
        <oos:Property name="Code" type="tDouble" />
        <oos:Property name="Code2" type="tDouble" />
      </oos:Properties>
    </oos:Entity>
    <oos:Entity id="advEntity5" name="Entity5" baseEntity="advEntity3" familyName="Entity3">
      <oos:SourceFragments />
      <oos:Properties>
        <oos:Property name="Code" propertyAlias="xxx" type="tInt32" />
        <oos:Property name="Code2" table="tblEntity1" type="tInt32" fieldName="code3" />
      </oos:Properties>
    </oos:Entity>
  </oos:Entities>
</oos:WXMLModel>